import { createApp } from 'vue'

import Layui from '@layui/layui-vue'
import '@layui/layui-vue/lib/index.css'
import '@/config/theme.css'; // 用于覆盖上面定义的变量
import { addMenuRoute } from "@/router/menuRoute";
import router from "@/router";
import App from '@/App.vue'
import global from '@/components/global'
import { directive } from "@/directive/index";

const app = createApp(App);
app.use(Layui)
app.use(global)
app.use(addMenuRoute)
app.use(router)
app.use(directive)
app.mount('#app')
